<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring4-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
	<script type="text/javascript" src="/deng/include/include-css.js"></script>
	<meta charset="UTF-8">
	<title>站点新增页面</title>
</head>
<body>
	<div class="m-portlet">
		<div class="m-portlet__head">
			<div class="m-portlet__head-caption">
				<div class="m-portlet__head-title">
					<span class="m-portlet__head-icon m--hide">
						<i class="la la-gear"></i>
					</span>
					<h3 class="m-portlet__head-text">
						创建站点
					</h3>
				</div>
			</div>
		</div>
		<form class="m-form m-form--fit m-form--label-align-left m-form--group-seperator-dashed" id="defaultForm" method="post">
			<div class="m-portlet__body">
				<div class="form-group m-form__group row">
					<label class="col-md-1 col-form-label">名&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;称</label>
					<div class="col-md-3">
						<input class="form-control" type="text" maxlength="255"  data-bv-notempty data-bv-notempty-message="请输入"  name="graph_site_name" placeholder="请输入">
					</div>
				</div>
				<div class="form-group m-form__group row">
					<label class="col-md-1 col-form-label">状&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;态</label>
					<div class="col-md-3">
						<select  class="form-control" name="graph_site_status" style="width: 120px;">
							<option value="0">关闭</option>
							<option value="1">发布</option>
						</select>
					</div>
				</div>
				<div class="form-group m-form__group row">
					<label class="col-md-1 col-form-label">内&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;容</label>
					<div class="col-md-3">
						<textarea class="form-control" maxlength="800"  name="content" placeholder="请输入"></textarea>
					</div>
				</div>
				<div class="form-group m-form__group row">
					<label class="col-md-1 col-form-label">背景颜色</label>
					<div class="col-md-3">
						<input class="form-control" type="color"  style="width: 120px" value="#ffffff"  name="background" placeholder="请输入背景颜色">
					</div>
				</div>
				<div class="form-group m-form__group row">
					<label class="col-md-1 col-form-label">网格颜色</label>
					<div class="col-md-3">
						<input class="form-control" type="color" style="width: 120px" value="#ffffff" name="gridColor" placeholder="请输入网格颜色">
					</div>
				</div>
				<div class="form-group m-form__group row">
					<label class="col-md-1 col-form-label">网格大小</label>
					<div class="col-md-3">
						<input class="form-control" type="text" style="width: 120px" value="20" maxlength="255"  name="gridSize" data-bv-numeric data-bv-numeric-message="此项为数字类型" placeholder="请输入">
					</div>
				</div>

				<div class="form-group m-form__group row">
					<label class="col-md-1 col-form-label">显示网格</label>
					<div class="col-md-3">
						<select  class="form-control" name="showGrid" style="width: 120px;">
							<option value="0">是</option>
							<option value="1">否</option>
						</select>
					</div>
				</div>
			</div>
			<div class="m-portlet__foot m-portlet__no-border m-portlet__foot--fit">
				<div class="m-form__actions m-form__actions--solid">
					<div class="form-group m-form__group row">
						<div class="col m--align-left">
							<a class="btn btn-light-primary font-weight-bold mr-2 m-btn m-btn--custom m-btn--icon" href="javascript:addGraphSite()">保存</a>
							<a class="btn btn-secondary m-btn m-btn--custom m-btn--icon" href="javascript:goback()">返回</a>
						</div>
						<div class="col m--align-right">
							<a class="btn btn-secondary m-btn m-btn--custom m-btn--icon" href="javascript:resetAll('defaultForm')"><span><i class="fa fa-repeat"></i><span>重置</span></span></a>
						</div>
					</div>
				</div>
			</div>
		</form>
	</div>
</body>
<script type="text/javascript" src="/deng/include/include.js"></script>
<script type="text/javascript" src="/deng/view/monitor/graph-site/graph-site-add.js"></script>
</html>
